<?php

namespace app\admin\controller;

use app\admin\model\NewsModel;
use app\admin\model\OrderModel;
use think\Db;
use think\Exception;
use think\Request;

class Order extends Base
{
    public function lists (Request $request)
    {
        $oderModel = new OrderModel();
        $list = $oderModel->getList ([], $request->get ('p'), 10);
        return view ('lists', [
            'list' => $list,
        ]);
    }

    public function orderDetail(Request $request){

    }
}
